package controleur;

import java.util.Date;
import java.util.Observer;

import Classe.Agenda;
import Classe.proxy.InfoAgenda;

public class ControleurAgenda {
	private InfoAgenda m_InfoAgenda;
	public ControleurAgenda(){
		m_InfoAgenda = new InfoAgenda();
	}
	public void Info(Date pDebut,Date pFin)
	{
		m_InfoAgenda.Info(pDebut, pFin);
	}
	public void addObserver(Observer o)
	{
		Agenda.getInstance().addObserver(o);
	}
	public void deleteObserver(Observer o)
	{
		Agenda.getInstance().deleteObserver(o);
	}
}
